﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace PL_TileEditor
{
    class Item : BaseObject
    {
        public string Name = "ERROR";
        public Dictionary<string, int> ModStats = new Dictionary<string,int>();
        public Dictionary<string, int> Buffs = new Dictionary<string,int>();
        public int BuyPrice = 0;
        public int SellPrice = 0;
        public string IconPath = "ERROR";
        public string Description = "";

        public override void Render(System.Windows.Forms.PaintEventArgs e, System.Drawing.Point AutoScrollPosition)
        {
            e.Graphics.DrawImage(PL_TileEditor.Properties.Resources.portal, new Point(m_Position.X - 32 + AutoScrollPosition.X, m_Position.Y - 32 + AutoScrollPosition.Y));
        }

        public override string ToString()
        {
            return Name;
        }

        public override string GetType()
        {
            return "Item";
        }
    }
}
